#ifndef SENSOR1WORKER_H
#define SENSOR1WORKER_H

#include "sensorworker.h"

class Sensor1Worker : public SensorWorker
{
    Q_OBJECT
public:
    Sensor1Worker(ushort di, ushort d0, QObject *parent = nullptr);
    void stop() override;
    void process() override;

private:
    void handleRisingEdge();
};

#endif // SENSOR1WORKER_H
